const { contextBridge, ipcRenderer } = require('electron')
contextBridge.exposeInMainWorld('keyAnim', {
    keyShow: (callback) =>{
        ipcRenderer.on('key-show', (e, arg) => callback(arg))
    }
})